import Vue from 'vue'
import App from './App.vue'
// css
import 'element-ui/lib/theme-chalk/index.css'
import '@/portal-common/styles/theme/element-variables.scss'
import '@/portal-common/styles/index.scss'
// import 'normalize.css/normalize.css'
// import 'viewerjs/dist/viewer.css'
// import '@/style/global.css' // 全局样式
// 引用库
import axios from 'axios'
import Element from 'element-ui'
import './icons' // icon
import router from './router'
import store from './store'
// import EventBus from './utils/EventBus'
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.use(Element, {
  size: 'medium' // set element-ui default size
})
// Vue.prototype.$EventBus = new EventBus()
Vue.prototype.$EventBus = new Vue()
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
